﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data;
using KPIS.GERP.GBMS.IBLL;
using KPIS.GERP.GBMS.MODEL;

namespace KPIS.GERP.GBMS.IBLL
{
    public interface IOptionTypeBLL 
    {
        void Insert(string Name, string LabelName, int hasChild, int hasDescription, int hasJobSite);

        void Update(int Sequence, string Name, string LabelName, int hasChild, int hasDescription, int hasJobSite);

        void Delete(int Sequence);

        IList<OptionTypeInfo> Search(int Sequence);

        int MappingOptionTypeEnum(OptionType type);

        //IList<OptionInfo> TreeView(, bool isRootNode);
    }
}
